
<form id="form_add">
<table>
	<tr>
		<td width="20%" align="right">申请人：</td>
		<td width="30%"><input type="text" name="emp" id="emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" size="12" title="{[$t.emp_|emp:'申请人']}"> <input
			type="checkbox" name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" checked> 自己</td>
		<td width="20%" align="right">日期：</td>
		<td width="30%"><input type="text" name="date" id="date" value="{[$smarty.now|date_format:'%Y-%m-%d']}" size="12"></td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td colspan="3"><textarea rows="2" name="name" cols="55"></textarea></td>
	</tr>
	<tr>
		<td align="right">产品：</td>
		<td colspan="3"><input type="text" name="mold" id="mold" size="20" value="" title="{[$t.mold]}"></td>
	</tr>
	<tr>
		<td align="right">穴数：</td>
		<td><input type="text" name="cavity" size="12" value=""></td>
		<td align="right">类型：</td>
		<td><select name='type'>
			{[html_options options=$type_option selected=1]}
		</select></td>		
	</tr>
	<tr>
		<td align="right">周期：</td>
		<td><input type="text" name="period" size="12" value=""> 秒</td>
		<td align="right">紧急程度：</td>
		<td><select name='urgent'>
			{[html_options options=$urgent_option selected=3]}
		</select></td>		
	</tr>
	<tr>
		<td align="right">毛重：</td>
		<td><input type="text" name="weight2" size="12" value=""> 克/啤</td>
		<td align="right">净重：</td>
		<td><input type="text" name="weight1" size="12" value=""> 克/啤</td>
	</tr>	
	<tr>
		<td align="right">原料+色粉：</td>
		<td colspan="3"><input type="text" name="material" size="40" value=""></td>
	</tr>
	<tr>
		<td align="right">顔色：</td>
		<td><input type="text" name="color" size="12" value=""></td>
		<td align="right">数量：</td>
		<td><input type="text" name="amount" size="12" value=""> 个</td>
	</tr>
	<tr>
		<td align="right">开始时间：</td>
		<td colspan="3"><input type="text" name="date1" id="date1" size="10" value="{[$t1|date_format:'%Y-%m-%d']}"> <input
			type="text" name="time1" id="time1" size="6" value="09:00"></td>
	</tr>
	<tr>
		<td align="right">结束时间：</td>
		<td colspan="3"><input type="text" name="date2" id="date2" size="10" value="{[$t1|date_format:'%Y-%m-%d']}"> <input
			type="text" name="time2" id="time2" size="6" value="18:00"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="5" name="content" cols="50"></textarea></td>
	</tr>	
</table>
</form>

<script type="text/javascript" src="js/zs/requirement/add.js?r={[$smarty.now]}"></script>
